package com.changgou.config.dao;

import com.changgou.config.pojo.Cities;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface CitiesMapper extends Mapper<Cities> {

    /**
     * 根据省份ID查询
     * @param provinceId
     * @return
     */
    @Select("select * from tb_cities where provinceid = #{provinceId}")
    List<Cities> findById(String provinceId);
}
